package com.touzhijia.authority.service;

import com.touzhijia.authority.mapper.PermissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 作者： lzw<br/>
 * 创建时间：2018-03-21 16:38 <br/>
 */
@Transactional(readOnly = true)
@Service
public class ModuleService {
    @Autowired
    private PermissionMapper permissionMapper;

    public List<String> getAllModule() {
        return permissionMapper.getAllModule();
    }
}
